package com.bj58.mis.apm.server.kylin.model;

import java.util.Map;

public class RowKeyDesc {
    private String columnName;
    private String encoding;
    private boolean isShardBy;
    private int indexNumber;
    private int bitIndex;
    private String cubedesc_id;

    public RowKeyDesc(Map<String, Object> map){
          this.columnName = (String)map.get("column");
          this.encoding = (String)map.get("encoding");
          this.isShardBy = (boolean)map.get("isShardBy");
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getEncoding() {
        return encoding;
    }

    public void setEncoding(String encoding) {
        this.encoding = encoding;
    }

    public boolean isShardBy() {
        return isShardBy;
    }

    public void setShardBy(boolean shardBy) {
        isShardBy = shardBy;
    }

    public int getIndexNumber() {
        return indexNumber;
    }

    public void setIndexNumber(int indexNumber) {
        this.indexNumber = indexNumber;
    }

    public String getCubedesc_id() {
        return cubedesc_id;
    }

    public void setCubedesc_id(String cubedesc_id) {
        this.cubedesc_id = cubedesc_id;
    }

    public int getBitIndex() {
        return bitIndex;
    }

    public void setBitIndex(int bitIndex) {
        this.bitIndex = bitIndex;
    }
}
